package com.zhentao.service;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.IService;
import com.zhentao.pojo.Teacher;
import com.zhentao.vo.Query;

/**
* @author hp
* @description 针对表【teacher】的数据库操作Service
* @createDate 2025-07-09 15:28:47
*/
public interface TeacherService extends IService<Teacher> {
    /**
     * 分页查询讲师（包含班级和导员信息）
     */
    Page<Teacher> pageTeacherWithClassesAndInstructors(Query query);

    /**
     * 根据ID查询讲师详情（包含班级和导员信息）
     */
    Teacher getTeacherWithClassesAndInstructors(Integer teacherId);
}
